package com.example.demo.entity;

import lombok.Data;

/**
 * @author 高俊
 * @create 2021-12-2021/12/19-13:03
 */
@Data
public class ClassesContentEntity {
    public ClassesContentEntity(Long id, Long groupId, String name, Double price, String situation, String tenantName, Integer count) {
        this.id = id;
        this.groupId = groupId;
        this.name = name;
        this.price = price;
        this.situation = situation;
        this.tenantName = tenantName;
        this.count = count;
    }

    public ClassesContentEntity(Long id, Long groupId, String name, Double price, String situation, String tenantName) {
        this.id = id;
        this.groupId = groupId;
        this.name = name;
        this.price = price;
        this.situation = situation;
        this.tenantName = tenantName;
    }

    public ClassesContentEntity() {
    }

    public ClassesContentEntity(Long id, Long groupId, String name, Double price) {
        this.id = id;
        this.groupId = groupId;
        this.name = name;
        this.price = price;
    }

    private Long id;
    private Long groupId;
    private String name;
    private Double price;
    private String situation;
    private String tenantName;
    private Integer count = 1;
}
